<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<%@ page contentType="text/html; charset=utf-8"%>
	<%@ include file="/commons/taglibs.jsp"%>
	<head>
		<%@ include file="/commons/css_js_head.jsp"%>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<title>修改房台类型</title>
		<script type="text/javascript">
//复写Url
doUpdateUrl = "${ctx }/permission/efDictionaryAction!doUpdate.ts";
doReturnUrl = "${ctx }/permission/efDictionaryAction!doList.ts";

//更新
function doUpdate() {
	var _form = document.forms[0];
	if (doUpdateUrl == '') {
		alert('请设置正确的URL!');
		return false;
	}
	_form.action = doUpdateUrl;
	_form.submit();
}
</script>
	</head>
	<body style="overflow-x: hidden">
		<div class="mTitle">
			<span class="hidsearch"></span>
			<b class="bbig">修改字典表</b>带<b class="fred"> * </b>号为必填项
		</div>

		<s:form action="/easyframe/permoission/efDictionaryAction" method="post">
			<!--list -->
			<div class="mainList">

	
				<table class="addTable">
					<tr>
						<th width="10%">
							<b class="fred">*</b>组名：
						</th>
						<td width="40%">
							<s:textfield name="efDictionary.id.groupname" theme="simple"></s:textfield>
						</td>
						<th width="10%">
							<b class="fred">*</b>类型：
						</th>
						<td width="40%">
							<s:textfield name="efDictionary.type" theme="simple"></s:textfield>
						</td>
					</tr>

					<tr>
						<th width="10%">
							<b class="fred">*</b>值：
						</th>
						<td width="40%">
				   		<s:textfield name="efDictionary.id.itemvalue" theme="simple"></s:textfield>
				    </select>
						</td>
						<th width="10%">
							<b class="fred">*</b>名称：
						</th>
						<td width="40%">
							<s:textfield name="efDictionary.itemname" theme="simple"></s:textfield>
						</td>

					</tr>
					<tr>
						<th width="10%">
							<b class="fred">*</b>描述：
						</th>
						<td width="40%">
							<s:textfield name="efDictionary.remark" theme="simple"></s:textfield>
						</td>
						<th width="10%">
							过滤条件：
						</th>
						<td width="40%">
							<s:textfield name="efDictionary.filter" theme="simple"></s:textfield>
						</td>

					</tr>
<tr>
						<th width="10%">
							<b class="fred">*</b>执行语句：
						</th>
						<td width="40%">
							<s:textfield name="efDictionary.exesql" theme="simple" size="80"></s:textfield>
						</td>
						<th width="10%">
							<b class="fred">
						</th>
						<td width="40%">
							
						</td>

					</tr>
				</table>

</div>
			<div class="addToolbar">
				<p>
					<input class="btn" name="btn_confirm" value="确定"
						onclick="doUpdate();" />
					<input class="btn" name="btn_return" value="返回"
						onclick="doReturn();" ; />
				</p>
			</div>
		</s:form>

	</body>
</html>
